import { Treehole } from "@/types/content/treeHole";
import  { get, remove } from "@/utils/request";


    /**
 * 查询文章列表
 * @param data
 * @returns
 */
export const queryHoleList = (params:  Treehole.Query) => get<PageVo<PageVo<Treehole.Row>>>(`/treeHole/page`, params);

/**
* 删除
* @param data
* @returns
*/
export const deleteTreeHole = (data: IdsType) => remove(`/treeHole/delete`,data);